<div class="module-head paneltitle">
    <div class="module-info">
        <p class="title titlefont">生成构件</p>
        <p class="sub-title titlecolor" ng-if="hasComponent">
        <span>当前SVNRevison为【{{revision}}】的【{{envParam|envTypeFilter}}】环境，</span>
		<span ng-if="envName==''">环境参数【无】</span>
		<span ng-if="envName!=''">环境参数【{{envName}}】</span>
		<span>的版本【{{branchInfo.version}}】已有构件！</span>
		<a href="#" ng-click="goRevisionList(revision,envParam)">【查看已存在构件】</a></p>
    </div>
</div>
<div class="container-wrapper">
	<div class="panel panel-default">
		<div class="panel-body">
			<form name="packageForm" class="form-horizontal" style="padding:10px;">
				<div class="form-group">
					<label class="col-sm-2 control-label" for="formGroupInputSmall">构件标题：</label>
					<div class="col-sm-10">
				 		<input type="text" id="title" name="title" style="width:200px;" class="form-control" ng-model="title" placeholder="请输入标题" >
						<div style="margin-left:202px;margin-top:-20px;">
							<span>_[应用包名]_[时间戳]_[SVN版本号]</span>
						</div>
					</div>
					
				</div>
			
				<div class="form-group">
					<label class="col-sm-2 control-label">构件描述：</label>
					<div class="col-sm-6">
						<textarea class="form-control" rows="5" placeholder="请输入构件描述"
								ng-model="description"></textarea>
					</div>
				</div>
				
				<div class="form-group">
					<label class="col-sm-2 control-label" style="margin-left:13px;"></label>
					<button class="btn btn-default"
						ng-click="packageVersion(sysInfo.sysId,branchInfo.branchId,envParam,envName,packageType);">生成构件</button>
					<button type="button" class="btn btn-default" ng-click="goBack(sysInfo.sysId,branchInfo.branchId);">取消</button>
				</div>
			</form>
		</div>
		</div>
	</div>
</div>